package com.icehand.disruptor.starter.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * ringBuffer 配置
 * @author zhoujunmei
 * @date 2019-07-25 16:43
 * @remark
 */
@ConfigurationProperties(prefix = RingBufferProperties.PREFIX)
@Component
@Data
public class RingBufferProperties {
    public static final String PREFIX = DisruptorProperties.PREFIX + "ring-buffer";
    private int size;
    private int threadNum;
}
